package JavaGrammar;

/**
 * @author wys
 * created in 13:52 2019/3/1
 */
public class ArrayTest {

    public void test() {
        // 1
        int arr[] = new int[6];
        int[] ar = new int[23];

        // 2
        int arr1[] = {1,2,3,4,5};


        int arr2[][] = {
                {1,32,234,234,234},
                {1,234,23,23,23,324}};
        // ***
        int arr3[][] = {{},{}};
        int[][] arr4 = {{},{},{}};

        int[][][] are = new int[10][10][10];


        // 3
        int[] y = new int[]{1,2,3,4,5};

        int[][] y2 = new int[10][10];
        int[][] yrr2;
        yrr2 = new int[13][13];
    }

}
